package com.zf.yichat.model;

import java.io.Serializable;
import javax.persistence.*;

@Table(name = "message_ultragroup_admin_user")
public class MessageUltragroupAdminUser implements Serializable {
    @Id
    private Long id;

    @Column(name = "ultragroup_id")
    private String ultragroupId;

    @Column(name = "user_id")
    private Long userId;

    private static final long serialVersionUID = 1L;

    public MessageUltragroupAdminUser(Long id, String ultragroupId, Long userId) {
        this.id = id;
        this.ultragroupId = ultragroupId;
        this.userId = userId;
    }

    public MessageUltragroupAdminUser() {
        super();
    }

    /**
     * @return id
     */
    public Long getId() {
        return id;
    }

    /**
     * @param id
     */
    public void setId(Long id) {
        this.id = id;
    }

    /**
     * @return ultragroup_id
     */
    public String getUltragroupId() {
        return ultragroupId;
    }

    /**
     * @param ultragroupId
     */
    public void setUltragroupId(String ultragroupId) {
        this.ultragroupId = ultragroupId == null ? null : ultragroupId.trim();
    }

    /**
     * @return user_id
     */
    public Long getUserId() {
        return userId;
    }

    /**
     * @param userId
     */
    public void setUserId(Long userId) {
        this.userId = userId;
    }
}